package com.ygqh.baby.model.wx;

import com.foxinmy.weixin4j.model.Button;
import com.foxinmy.weixin4j.type.ButtonType;

public class WxButton extends Button {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	private String appid;

	private String pagepath;

	
	public WxButton() {
		super();
	}

	public WxButton(String name, String content, ButtonType type) {
		super(name, content, type);
	}

	public WxButton(String appid, String pagepath) {
		super();
		this.appid = appid;
		this.pagepath = pagepath;
	}

	public String getAppid() {
		return appid;
	}

	public void setAppid(String appid) {
		this.appid = appid;
	}

	public String getPagepath() {
		return pagepath;
	}

	public void setPagepath(String pagepath) {
		this.pagepath = pagepath;
	}

	@Override
	public String toString() {
		return "WxButton [appid=" + appid + ", pagepath=" + pagepath + "]";
	}
	
	

}
